package com.iotek.service.impl;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.iotek.dao.ImageDao;
import com.iotek.entity.Image;
import com.iotek.service.ImageService;

@Service
public class ImageServiceImpl implements ImageService{

	
	@Autowired
	private ImageDao imageDao;
	@Override
	public boolean addImage(Image image) {
		imageDao.addImage(image);
		return false;
	}
	@Override
	public String findimgAddress(String imgAddress) {
		return imageDao.findimgAdress(imgAddress);
	}

}
